package com.mdd.admin.validate;

import com.mdd.common.validator.annotation.IDMust;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 调解书模板参数
 * @author LikeAdmin
 */
@Data
@ApiModel("调解书模板更新参数")
public class MediationTemplateStateUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "templateNumber参数必传且需大于0")
    @ApiModelProperty(value = "模板编号")
    private Integer templateNumber;

    @NotNull(message = "templateState参数缺失")
    @ApiModelProperty(value = "模板状态0禁用 1可用")
    private Integer templateState;

    @NotNull(message = "state参数缺失")
    @ApiModelProperty(value = "状态0禁用 1可用")
    private Integer state;

}
